package com.sanqi.work.repository;

import java.util.List;

import org.springframework.data.mongodb.repository.MongoRepository;

import com.sanqi.work.mongodomain.WorkExcelInfo;

public interface WorkExcelInfoRepository extends MongoRepository<WorkExcelInfo, String> {
    public void deleteByFileIdAndSheetName(String fileId, String sheetName);
    
    public List<WorkExcelInfo> findByFileIdAndSheetName(String fileId, String sheetName);
    
    public List<WorkExcelInfo> findByFileId(String fileId);
}
